-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: API changes for handling new submission_email
location
#3582
Conversation
Removed vultr server and associated DNS entries |
be27de5
to
f484485
Compare
Quick Pizza link for testing: https://3582.planx.pizza/buckinghamshire/submission-email-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
// Confirm this local authority (aka team) has an email configured in teams.submission_email | ||
const { sendToEmail, notifyPersonalisation } = | ||
// Confirm this local authority (aka team) has an email configured in team_settings.submission_email | ||
const { notifyPersonalisation } = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: If we're only using the sendToEmail
field in this file, and not the rest of the notifyPersonalisation
object, it would be cleaner / neater to destructure one level deeper here, and then not have to repeatedly write notifyPersonalisation.sendToEmail
throughout the file 👍
const { notifyPersonalisation } = | |
const { notifyPersonalisation: { sendToEmail } } = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are also using ...notifyPersonalisation
for part of the code below. I'll keep as is now.
What does this PR do?
This PR looks to alter references from
teams.submission_email
toteam_settings.submission_email
.I have ran through all references to
submission_email
,sendEmail
,submissionEmail
and repointed them to the new reference.